package vip.ifmm.lehouse.search.service.elasticSearchTemplate;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import vip.ifmm.lehouse.common.model.Enclosure;

import java.util.List;

/**
 * @author: mackyhuang
 * <p>email: mackyhuang@163.com <p>
 * <p>date: 2019/6/20 </p>
 */
public interface EnclosureRepository extends ElasticsearchRepository<Enclosure, Integer> {

    List<Enclosure> findByEnclosureName(String enclosureName);
}
